package cn.zjgsu.service;

import java.io.InputStream;
import java.util.List;

import cn.zjgsu.domain.TbCourse;
import cn.zjgsu.domain.TbTask;
import cn.zjgsu.domain.TbTeacher;

/**
 * @author 颜佳钦
 *
 */
public interface ITeacherService {

	TbTeacher getTeacherByFkUser(int fkUser);

	void updateTeacher(TbTeacher teacher);

	void changeTeacherPassword(int pkTeacher, String changePassword);

	List<String> getYear(int fkTeacher);

	List<String> findCourseByYear(Integer fkTeacher, String year);

	void linkStudentCourse(String year, String courseName, int fkStudent, int fkTeacher);

	void linkStudentCourseExcel(String year, String courseName, int fkTeacher, InputStream in, String fileName)throws Exception;

	List<TbCourse> findCourseRecordByYear(Integer fkTeacher, String year);

	int getTaskCount(int fkUser);

	List<TbTask> selectByPage(int startPos, int pageSize,int fkUser);

}
